//
//  URLs.h
//  CarHome
//
//  Created by lanou3g on 15-4-25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#ifndef CarHome_URLs_h
#define CarHome_URLs_h


#define brandListURL @"http://app.api.autohome.com.cn/autov4.7/club/clubsseries-pm1-st635653207505514647.json"

#define carListURLwithBrandID(brandID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/seriesprice-pm1-%@-t1.json", brandID]

#define carListURLwithBrandID2(brandID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/seriesprice-pm1-%@-t2.json", brandID]


#define summaryURLwithCarID(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/seriessummary-pm1-s%@-t-c110100.json", carID]

#define pictureURLwithCarID(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg0-cl0-p1-s60-ft1.json", carID]

#define pictureURLwithCarID_1(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg1-cl0-p1-s60-ft1.json", carID]

#define pictureURLwithCarID_2(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg10-cl0-p1-s60-ft1.json", carID]

#define pictureURLwithCarID_3(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg3-cl0-p1-s60-ft1.json", carID]

#define pictureURLwithCarID_4(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg12-cl0-p1-s60-ft1.json", carID]

#define pictureURLwithCarID_5(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss%@-sp0-cg14-cl0-p1-s60-ft1.json", carID]

#define DealerURLwithCarIDAndPageNum(carID, page) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/dealer/pddealers-pm1-sp0-ss%@-c110100-sc0-p%lu-s20-o0-lon116.352852-lat40.038818.json", carID, page]
//http://app.api.autohome.com.cn/autov4.7/dealer/pddealers-pm1-sp0-ss18-c110100-sc0-p1-s20-o0-lon116.352852-lat40.038818.json
#define AlibiURLwithCarID(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/alibi/alibispecinfos-pm1-ss%@.json", carID]

#define ExplainURLwithCarID(carID, name_gb2312Encoding) [NSString stringWithFormat:@"http://cont.app.autohome.com.cn/autov4.7/content/News/seriesexplain-a2-pm1-v4.7.0-n%@-lz0-sp0-nt0-sa1-p0-c%@-fs0-cw320.json", carID, name_gb2312Encoding]

#define NewsURLwithCarID(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/news/seriesnews-pm1-ss%@-cs10000-c110100-s20-lastid0.json", carID]

#define BBSURLwithCarID(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b%@-btc-r0-ss0-o0-p1-s50-qf0.json", carID]

#define BBSURLwithCarID2(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b%@-btc-r0-ss0-o2-p1-s50-qf0.json", carID]

#define BBSURLwithCarID3(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b%@-btc-r1-ss0-o2-p1-s50-qf0.json", carID]

#define BBSURLwithCarID4(carID) [NSString stringWithFormat:@"http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b%@-btc-r1-ss0-o2-p1-s50-qf1.json", carID]

//http://app.api.autohome.com.cn/autov4.7/dealer/pddealers-pm1-sp19485-ss692-c110100-sc0-p1-s20-o0-lon116.350388-lat40.036209.json










// 评测页面
#define kEvaluatingURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt3-p1-s30-l0.json"
// 导航页面
#define kShoppingGuideURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt60-p1-s30-l0.json"

// 行情页面
#define kPriceURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm2-c110100-nt2-p1-s20-l0.json"

// 新闻页面
#define kNewsURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt1-p1-s30-l0.json"

// 改装页面
#define kRefitURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt107-p1-s30-l0.json"

// 游记页面
#define kTravelnotesURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt100-p1-s30-l0.json"

//最新页面
#define kLastNewsURL @"http://app.api.autohome.com.cn/autov4.7/news/newslist-pm1-c0-nt0-p1-s30-l0.json"


// city 和 province
#define kCityAndProvince @"http://app.api.autohome.com.cn/autov4.7/news/province-pm2-ts0.json"


//最后回复
//http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b3170-btc-r0-ss0-o0-p1-s50-qf0.json
//最新发布   o2
//http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b3170-btc-r0-ss0-o2-p1-s50-qf0.json
//精华帖     r1
//http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b3170-btc-r1-ss0-o0-p1-s50-qf0.json
//质量反馈   qf1
//http://app.api.autohome.com.cn/autov4.7/club/topics-pm1-b3170-btc-r0-ss0-o0-p1-s50-qf1.json

//查看所有图片  cg1 车身外观
//http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss692-sp0-cg1-cl0-p1-s60-ft1.json
//查看所有图片  cg10 中控方向盘
//http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss692-sp0-cg10-cl0-p1-s60-ft1.json
//查看所有图片  cg3 车厢座椅
//http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss692-sp0-cg3-cl0-p1-s60-ft1.json
//查看所有图片  cg12 其他细节
//http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss692-sp0-cg12-cl0-p1-s60-ft1.json
//查看所有图片  cg14 图解
//http://app.api.autohome.com.cn/autov4.7/cars/pics-pm1-ss692-sp0-cg14-cl0-p1-s60-ft1.json
#endif
